package prtracker

class Project {

   String name
   String description
   String billingType
   Date dueDate
   
   static belongsTo = [owner : EndUser]
   static hasMany = [tasks : Task]
   static constraints = {
	   
	   name (blank: false)
	   description()
	   dueDate (min: new Date())
	   billingType (inList: ["Billable", "Non-billable", "Fix Price"])
	   }
   }

